package com.cjq.cathe;

import com.cjq.core.filter.GatewayFilter;
import lombok.Getter;
import lombok.Setter;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @author CuiJQ
 * @date 2025/2/27 17:08
 */
@Getter
@Setter
public class CacheStore {
    private static class CacheStoreInstance {
        private static CacheStore cacheStore = new CacheStore();
    }

    public static CacheStore getInstance() {
        return CacheStoreInstance.cacheStore;
    }

    private Map<String, GatewayFilter> gatewayFilterStore = new ConcurrentHashMap<>();
}
